home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
a_utils
/
_archvrs
/
mac
/
tar40.sit
/
tar.rsrc
/
bin.rsrc_CODE_7_SADEV.txt
< prev
next >
Wrap
Text File
|
1994-02-02
|
95KB
|
1,760 lines
# near model CODE resource
# entry label at 0x0000
export_58:
entry:
00000000 4E56 0000 link A6, 0
00000004 48E7 0118 movem.l -[A7], D7,A3,A4
00000008 266E 0010 movea.l A3, [A6 + 0x10]
0000000C 286E 0008 movea.l A4, [A6 + 0x8]
00000010 200C move.l D0, A4
00000012 6704 beq +0x6 /* 00000018 */
00000014 4A14 tst.b [A4]
00000016 660A bne +0xC /* 00000022 */
label00000018:
00000018 203C 4000 0016 move.l D0, 0x40000016
0000001E 6000 0092 bra +0x94 /* 000000B2 */
label00000022:
00000022 202E 000C move.l D0, [A6 + 0xC]
00000026 0480 0000 6400 subi.l D0, 0x6400 /* 'd\0' */
0000002C 6710 beq +0x12 /* 0000003E */
0000002E 5380 subq.l D0, 1
00000030 6718 beq +0x1A /* 0000004A */
00000032 5380 subq.l D0, 1
00000034 6736 beq +0x38 /* 0000006C */
00000036 203C 4000 0016 move.l D0, 0x40000016
0000003C 6074 bra +0x76 /* 000000B2 */
label0000003E:
0000003E 2F0C move.l -[A7], A4
00000040 2F0B move.l -[A7], A3
00000042 4EBA 0086 jsr [PC + 0x86 /* 000000CA */]
00000046 504F addq.w A7, 8
00000048 6068 bra +0x6A /* 000000B2 */
label0000004A:
0000004A 598F subq.l A7, 4
0000004C 2F0C move.l -[A7], A4
0000004E 4EAD 0152 jsr [A5 + 0x152]
00000052 558F subq.l A7, 2
00000054 2F0C move.l -[A7], A4
00000056 7000 moveq.l D0, 0x00
00000058 3F00 move.w -[A7], D0
0000005A 4EAD 00FA jsr [A5 + 0xFA]
0000005E 3E1F move.w D7, [A7]+
00000060 598F subq.l A7, 4
00000062 2F0C move.l -[A7], A4
00000064 4EAD 015A jsr [A5 + 0x15A]
00000068 504F addq.w A7, 8
0000006A 6034 bra +0x36 /* 000000A0 */
label0000006C:
0000006C 598F subq.l A7, 4
0000006E 2F0C move.l -[A7], A4
00000070 4EAD 0152 jsr [A5 + 0x152]
00000074 598F subq.l A7, 4
00000076 2F0B move.l -[A7], A3
00000078 4EAD 0152 jsr [A5 + 0x152]
0000007C 558F subq.l A7, 2
0000007E 2F0C move.l -[A7], A4
00000080 7000 moveq.l D0, 0x00
00000082 3F00 move.w -[A7], D0
00000084 2F0B move.l -[A7], A3
00000086 4EAD 0102 jsr [A5 + 0x102]
0000008A 3E1F move.w D7, [A7]+
0000008C 598F subq.l A7, 4
0000008E 2F0B move.l -[A7], A3
00000090 4EAD 015A jsr [A5 + 0x15A]
00000094 598F subq.l A7, 4
00000096 2F0C move.l -[A7], A4
00000098 4EAD 015A jsr [A5 + 0x15A]
0000009C 4FEF 0010 lea.l A7, [A7 + 0x10]
label000000A0:
000000A0 4A47 tst.w D7
000000A2 6604 bne +0x6 /* 000000A8 */
000000A4 7000 moveq.l D0, 0x00
000000A6 600A bra +0xC /* 000000B2 */
label000000A8:
000000A8 7000 moveq.l D0, 0x00
000000AA 3007 move.w D0, D7
000000AC 80BC 4000 0000 or.l D0, 0x40000000 /* '@\0\0\0' */
label000000B2:
000000B2 4CEE 1880 FFF4 movem.l A4,A3,D7, [A6 - 0xC]
000000B8 4E5E unlink A6
000000BA 4E75 rts
000000BC 8A5F or.w D5, [A7]+
000000BE 6673 bne +0x75 /* 00000133 */
000000C0 4641 not.w D1
000000C2 6363 bls +0x65 /* 00000127 */
000000C4 6573 bcs +0x75 /* 00000139 */
000000C6 7300 moveq.l D1, 0x00
000000C8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000000CA-000000CE
fn000000CA:
000000CA 4E56 FF32 link A6, -0x00CE
// end alternate branch 000000CA-000000CE
fn000000CA: // (misaligned)
000000CC FF32 .extension 0xF32 // unimplemented
000000CE 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000000D2 266E 000C movea.l A3, [A6 + 0xC]
000000D6 286E 0008 movea.l A4, [A6 + 0x8]
000000DA 3014 move.w D0, [A4]
000000DC 48C0 ext.l D0
000000DE 2C00 move.l D6, D0
000000E0 7A00 moveq.l D5, 0x00
000000E2 598F subq.l A7, 4
000000E4 2F0B move.l -[A7], A3
000000E6 4EAD 0152 jsr [A5 + 0x152]
000000EA 558F subq.l A7, 2
000000EC 7000 moveq.l D0, 0x00
000000EE 2F00 move.l -[A7], D0
000000F0 486E FF36 pea.l [A6 - 0xCA]
000000F4 486E FF32 pea.l [A6 - 0xCE]
000000F8 4EAD 0142 jsr [A5 + 0x142]
000000FC 2D4B FF5A move.l [A6 - 0xA6], A3
00000100 422E FF62 clr.b [A6 - 0x9E]
00000104 7000 moveq.l D0, 0x00
00000106 2D40 FF64 move.l [A6 - 0x9C], D0
0000010A 7203 moveq.l D1, 0x03
0000010C C286 and.l D1, D6
0000010E 5381 subq.l D1, 1
00000110 5C4F addq.w A7, 6
00000112 6708 beq +0xA /* 0000011C */
00000114 5381 subq.l D1, 1
00000116 670C beq +0xE /* 00000124 */
00000118 5381 subq.l D1, 1
0000011A 6710 beq +0x12 /* 0000012C */
label0000011C:
0000011C 1D7C 0001 FF63 move.b [A6 - 0x9D], 0x1
00000122 600E bra +0x10 /* 00000132 */
label00000124:
00000124 1D7C 0002 FF63 move.b [A6 - 0x9D], 0x2
label00000127: // (misaligned)
0000012A 6006 bra +0x8 /* 00000132 */
label0000012C:
0000012C 1D7C 0003 FF63 move.b [A6 - 0x9D], 0x3
label00000132:
00000132 203C 0000 1000 move.l D0, 0x1000
label00000133: // (misaligned)
00000138 C086 and.l D0, D6
label00000139: // (misaligned)
0000013A 672E beq +0x30 /* 0000016A */
0000013C 426E FF5E clr.w [A6 - 0xA2]
00000140 7010 moveq.l D0, 0x10
00000142 C086 and.l D0, D6
00000144 6712 beq +0x14 /* 00000158 */
00000146 558F subq.l A7, 2
00000148 486E FF48 pea.l [A6 - 0xB8]
0000014C 7000 moveq.l D0, 0x00
0000014E 1F00 move.b -[A7], D0
00000150 4EAD 00CA jsr [A5 + 0xCA]
00000154 3E1F move.w D7, [A7]+
00000156 6046 bra +0x48 /* 0000019E */
label00000158:
00000158 558F subq.l A7, 2
0000015A 486E FF48 pea.l [A6 - 0xB8]
0000015E 7000 moveq.l D0, 0x00
00000160 1F00 move.b -[A7], D0
00000162 4EAD 00B2 jsr [A5 + 0xB2]
00000166 3E1F move.w D7, [A7]+
00000168 6034 bra +0x36 /* 0000019E */
label0000016A:
0000016A 3D6E FF36 FF5E move.w [A6 - 0xA2], [A6 - 0xCA]
00000170 2D6E FF32 FF78 move.l [A6 - 0x88], [A6 - 0xCE]
00000176 7010 moveq.l D0, 0x10
00000178 C086 and.l D0, D6
0000017A 6712 beq +0x14 /* 0000018E */
0000017C 558F subq.l A7, 2
0000017E 486E FF48 pea.l [A6 - 0xB8]
00000182 7000 moveq.l D0, 0x00
00000184 1F00 move.b -[A7], D0
00000186 4EAD 013A jsr [A5 + 0x13A]
0000018A 3E1F move.w D7, [A7]+
0000018C 6010 bra +0x12 /* 0000019E */
label0000018E:
0000018E 558F subq.l A7, 2
00000190 486E FF48 pea.l [A6 - 0xB8]
00000194 7000 moveq.l D0, 0x00
00000196 1F00 move.b -[A7], D0
00000198 4EAD 0132 jsr [A5 + 0x132]
0000019C 3E1F move.w D7, [A7]+
label0000019E:
0000019E 4A47 tst.w D7
000001A0 6628 bne +0x2A /* 000001CA */
000001A2 203C 0000 0500 move.l D0, 0x500
000001A8 C086 and.l D0, D6
000001AA 0C80 0000 0500 cmpi.l D0, 0x500
000001B0 6618 bne +0x1A /* 000001CA */
000001B2 558F subq.l A7, 2
000001B4 486E FF48 pea.l [A6 - 0xB8]
000001B8 7000 moveq.l D0, 0x00
000001BA 1F00 move.b -[A7], D0
000001BC 4EAD 00BA jsr [A5 + 0xBA]
000001C0 7ED0 moveq.l D7, 0xFFFFFFD0
000001C2 2A3C 4000 0011 move.l D5, 0x40000011
000001C8 544F addq.w A7, 2
label000001CA:
000001CA 0C47 FFD5 cmpi.w D7, 0xFFD5
000001CE 6600 0082 bne +0x84 /* 00000252 */
000001D2 203C 0000 0100 move.l D0, 0x100
000001D8 C086 and.l D0, D6
000001DA 6776 beq +0x78 /* 00000252 */
000001DC 558F subq.l A7, 2
000001DE 486E FF48 pea.l [A6 - 0xB8]
000001E2 7000 moveq.l D0, 0x00
000001E4 1F00 move.b -[A7], D0
000001E6 4EAD 00C2 jsr [A5 + 0xC2]
000001EA 381F move.w D4, [A7]+
000001EC 6662 bne +0x64 /* 00000250 */
000001EE 7010 moveq.l D0, 0x10
000001F0 C086 and.l D0, D6
000001F2 6712 beq +0x14 /* 00000206 */
000001F4 558F subq.l A7, 2
000001F6 486E FF48 pea.l [A6 - 0xB8]
000001FA 7000 moveq.l D0, 0x00
000001FC 1F00 move.b -[A7], D0
000001FE 4EAD 00CA jsr [A5 + 0xCA]
00000202 3E1F move.w D7, [A7]+
00000204 604C bra +0x4E /* 00000252 */
label00000206:
00000206 558F subq.l A7, 2
00000208 486E FF48 pea.l [A6 - 0xB8]
0000020C 7000 moveq.l D0, 0x00
0000020E 1F00 move.b -[A7], D0
00000210 4EAD 00B2 jsr [A5 + 0xB2]
00000214 3E1F move.w D7, [A7]+
00000216 203C 0000 0800 move.l D0, 0x800
0000021C C086 and.l D0, D6
0000021E 6632 bne +0x34 /* 00000252 */
00000220 558F subq.l A7, 2
00000222 2F0B move.l -[A7], A3
00000224 7000 moveq.l D0, 0x00
00000226 3F00 move.w -[A7], D0
00000228 486E FF38 pea.l [A6 - 0xC8]
0000022C 4EAD 00F2 jsr [A5 + 0xF2]
00000230 4A5F tst.w [A7]+
00000232 661E bne +0x20 /* 00000252 */
00000234 2D7C 5445 5854 FF38 move.l [A6 - 0xC8], 0x54455854 /* 'TEXT' */
0000023C 558F subq.l A7, 2
0000023E 2F0B move.l -[A7], A3
00000240 7000 moveq.l D0, 0x00
00000242 3F00 move.w -[A7], D0
00000244 486E FF38 pea.l [A6 - 0xC8]
00000248 4EAD 010A jsr [A5 + 0x10A]
0000024C 544F addq.w A7, 2
0000024E 6002 bra +0x4 /* 00000252 */
label00000250:
00000250 3E04 move.w D7, D4
label00000252:
00000252 4A47 tst.w D7
00000254 6600 0082 bne +0x84 /* 000002D8 */
00000258 7000 moveq.l D0, 0x00
0000025A 2D40 FFCE move.l [A6 - 0x32], D0
0000025E 426E FFDE clr.w [A6 - 0x22]
00000262 2D40 FFD4 move.l [A6 - 0x2C], D0
00000266 3D6E FF5E FFD8 move.w [A6 - 0x28], [A6 - 0xA2]
0000026C 3D6E FF60 FFDA move.w [A6 - 0x26], [A6 - 0xA0]
00000272 558F subq.l A7, 2
00000274 486E FFC2 pea.l [A6 - 0x3E]
00000278 7000 moveq.l D0, 0x00
0000027A 1F00 move.b -[A7], D0
0000027C 4EAD 012A jsr [A5 + 0x12A]
00000280 7002 moveq.l D0, 0x02
00000282 C086 and.l D0, D6
00000284 544F addq.w A7, 2
00000286 671E beq +0x20 /* 000002A6 */
00000288 303C 0100 move.w D0, 0x100
0000028C C06E FFE6 and.w D0, [A6 - 0x1A]
00000290 6614 bne +0x16 /* 000002A6 */
00000292 558F subq.l A7, 2
00000294 486E FF48 pea.l [A6 - 0xB8]
00000298 7000 moveq.l D0, 0x00
0000029A 1F00 move.b -[A7], D0
0000029C 4EAD 00BA jsr [A5 + 0xBA]
000002A0 7E01 moveq.l D7, 0x01
000002A2 544F addq.w A7, 2
000002A4 6032 bra +0x34 /* 000002D8 */
label000002A6:
000002A6 203C 0000 0200 move.l D0, 0x200
000002AC C086 and.l D0, D6
000002AE 6728 beq +0x2A /* 000002D8 */
000002B0 7000 moveq.l D0, 0x00
000002B2 2D40 FF64 move.l [A6 - 0x9C], D0
000002B6 558F subq.l A7, 2
000002B8 486E FF48 pea.l [A6 - 0xB8]
000002BC 7000 moveq.l D0, 0x00
000002BE 1F00 move.b -[A7], D0
000002C0 4EAD 00D2 jsr [A5 + 0xD2]
000002C4 3E1F move.w D7, [A7]+
000002C6 6710 beq +0x12 /* 000002D8 */
000002C8 558F subq.l A7, 2
000002CA 486E FF48 pea.l [A6 - 0xB8]
000002CE 7000 moveq.l D0, 0x00
000002D0 1F00 move.b -[A7], D0
000002D2 4EAD 00BA jsr [A5 + 0xBA]
000002D6 544F addq.w A7, 2
label000002D8:
000002D8 4A47 tst.w D7
000002DA 6712 beq +0x14 /* 000002EE */
000002DC 7000 moveq.l D0, 0x00
000002DE 3007 move.w D0, D7
000002E0 2A00 move.l D5, D0
000002E2 8ABC 4000 0000 or.l D5, 0x40000000 /* '@\0\0\0' */
000002E8 3947 0002 move.w [A4 + 0x2], D7
000002EC 6008 bra +0xA /* 000002F6 */
label000002EE:
000002EE 4A85 tst.l D5
000002F0 6704 beq +0x6 /* 000002F6 */
000002F2 426C 0002 clr.w [A4 + 0x2]
label000002F6:
000002F6 4A85 tst.l D5
000002F8 6600 00BE bne +0xC0 /* 000003B8 */
000002FC 700E moveq.l D0, 0x0E
000002FE A122 trap NewHandle, flags=1
00000300 2948 0008 move.l [A4 + 0x8], A0
00000304 6616 bne +0x18 /* 0000031C */
00000306 558F subq.l A7, 2
00000308 486E FF48 pea.l [A6 - 0xB8]
0000030C 7000 moveq.l D0, 0x00
0000030E 1F00 move.b -[A7], D0
00000310 4EAD 00BA jsr [A5 + 0xBA]
00000314 7A0C moveq.l D5, 0x0C
00000316 544F addq.w A7, 2
00000318 6000 009E bra +0xA0 /* 000003B8 */
label0000031C:
0000031C 206C 0008 movea.l A0, [A4 + 0x8]
00000320 2050 movea.l A0, [A0]
00000322 316E FF60 0002 move.w [A0 + 0x2], [A6 - 0xA0]
00000328 206C 0008 movea.l A0, [A4 + 0x8]
0000032C 2050 movea.l A0, [A0]
0000032E 30BC 0001 move.w [A0], 0x1
00000332 203C 0000 2000 move.l D0, 0x2000 /* ' \0' */
00000338 C086 and.l D0, D6
0000033A 6768 beq +0x6A /* 000003A4 */
0000033C 1013 move.b D0, [A3]
0000033E 4880 ext.w D0
00000340 5240 addq.w D0, 1
00000342 48C0 ext.l D0
00000344 A11E trap NewPtr, flags=1
00000346 226C 0008 movea.l A1, [A4 + 0x8]
0000034A 2251 movea.l A1, [A1]
0000034C 2348 000A move.l [A1 + 0xA], A0
00000350 206C 0008 movea.l A0, [A4 + 0x8]
00000354 2050 movea.l A0, [A0]
00000356 4AA8 000A tst.l [A0 + 0xA]
0000035A 661A bne +0x1C /* 00000376 */
0000035C 206C 0008 movea.l A0, [A4 + 0x8]
00000360 A023 trap DisposHandle/DisposeHandle
00000362 558F subq.l A7, 2
00000364 486E FF48 pea.l [A6 - 0xB8]
00000368 7000 moveq.l D0, 0x00
0000036A 1F00 move.b -[A7], D0
0000036C 4EAD 00BA jsr [A5 + 0xBA]
00000370 7A0C moveq.l D5, 0x0C
00000372 544F addq.w A7, 2
00000374 602E bra +0x30 /* 000003A4 */
label00000376:
00000376 204B movea.l A0, A3
00000378 226C 0008 movea.l A1, [A4 + 0x8]
0000037C 2251 movea.l A1, [A1]
0000037E 2269 000A movea.l A1, [A1 + 0xA]
00000382 1013 move.b D0, [A3]
00000384 4880 ext.w D0
00000386 5240 addq.w D0, 1
00000388 48C0 ext.l D0
0000038A A02E trap BlockMove/BlockMoveData
0000038C 206C 0008 movea.l A0, [A4 + 0x8]
00000390 2050 movea.l A0, [A0]
00000392 316E FF36 0004 move.w [A0 + 0x4], [A6 - 0xCA]
00000398 206C 0008 movea.l A0, [A4 + 0x8]
0000039C 2050 movea.l A0, [A0]
0000039E 216E FF32 0006 move.l [A0 + 0x6], [A6 - 0xCE]
label000003A4:
000003A4 558F subq.l A7, 2
000003A6 3F2E FF60 move.w -[A7], [A6 - 0xA0]
000003AA 7001 moveq.l D0, 0x01
000003AC 3F00 move.w -[A7], D0
000003AE 7200 moveq.l D1, 0x00
000003B0 2F01 move.l -[A7], D1
000003B2 4EAD 0122 jsr [A5 + 0x122]
000003B6 544F addq.w A7, 2
label000003B8:
000003B8 598F subq.l A7, 4
000003BA 2F0B move.l -[A7], A3
000003BC 4EAD 015A jsr [A5 + 0x15A]
000003C0 2005 move.l D0, D5
000003C2 584F addq.w A7, 4
000003C4 4CEE 18F0 FF1A movem.l A4,A3,D7,D6,D5,D4, [A6 - 0xE6]
000003CA 4E5E unlink A6
000003CC 4E75 rts
000003CE 875F or.w [A7]+, D3
000003D0 6673 bne +0x75 /* 00000445 */
000003D2 4F70 656E chk.w D7, <<invalid full ext with IS == 1 and I/IS == 6>>
000003D6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_59: // at 000003D8 (misaligned)
000003DA 0000 48E7 ori.b D0, 0xE7
000003DE 0108 btst A0, D0
000003E0 286E 0008 movea.l A4, [A6 + 0x8]
000003E4 4247 clr.w D7
000003E6 206C 0008 movea.l A0, [A4 + 0x8]
000003EA 2050 movea.l A0, [A0]
000003EC 5350 subq.w [A0], 1
000003EE 4A50 tst.w [A0]
000003F0 6E5A bgt +0x5C /* 0000044C */
000003F2 558F subq.l A7, 2
000003F4 206C 0008 movea.l A0, [A4 + 0x8]
000003F8 2050 movea.l A0, [A0]
000003FA 3F28 0002 move.w -[A7], [A0 + 0x2]
000003FE 4EAD 00DA jsr [A5 + 0xDA]
00000402 3E1F move.w D7, [A7]+
00000404 6706 beq +0x8 /* 0000040C */
00000406 3947 0002 move.w [A4 + 0x2], D7
0000040A 603A bra +0x3C /* 00000446 */
label0000040C:
0000040C 303C 2000 move.w D0, 0x2000 /* ' \0' */
00000410 C054 and.w D0, [A4]
00000412 6732 beq +0x34 /* 00000446 */
00000414 558F subq.l A7, 2
00000416 206C 0008 movea.l A0, [A4 + 0x8]
0000041A 2050 movea.l A0, [A0]
0000041C 3F28 0004 move.w -[A7], [A0 + 0x4]
00000420 206C 0008 movea.l A0, [A4 + 0x8]
00000424 2050 movea.l A0, [A0]
00000426 2F28 0006 move.l -[A7], [A0 + 0x6]
0000042A 206C 0008 movea.l A0, [A4 + 0x8]
0000042E 2050 movea.l A0, [A0]
00000430 2F28 000A move.l -[A7], [A0 + 0xA]
00000434 4EAD 014A jsr [A5 + 0x14A]
00000438 206C 0008 movea.l A0, [A4 + 0x8]
0000043C 2050 movea.l A0, [A0]
0000043E 2068 000A movea.l A0, [A0 + 0xA]
00000442 A01F trap DisposPtr/DisposePtr
00000444 544F addq.w A7, 2
label00000445: // (misaligned)
label00000446:
00000446 206C 0008 movea.l A0, [A4 + 0x8]
0000044A A023 trap DisposHandle/DisposeHandle
label0000044C:
0000044C 4A47 tst.w D7
0000044E 6604 bne +0x6 /* 00000454 */
00000450 7000 moveq.l D0, 0x00
00000452 6002 bra +0x4 /* 00000456 */
label00000454:
00000454 7009 moveq.l D0, 0x09
label00000456:
00000456 4CEE 1080 FFF8 movem.l A4,D7, [A6 - 0x8]
0000045C 4E5E unlink A6
0000045E 4E75 rts
00000460 885F or.w D4, [A7]+
00000462 6673 bne +0x75 /* 000004D7 */
00000464 436C 6F73 chk.w D1, [A4 + 0x6F73]
00000468 6500 0000 bcs +0x2 /* 0000046A */
// begin alternate branch 0000046A-00000470
label0000046A:
0000046A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_60: // at 0000046C (misaligned)
0000046E FFFC .extension 0xFFC // unimplemented
// end alternate branch 0000046A-00000470
export_60:
label0000046A: // (misaligned)
0000046C 4E56 FFFC link A6, -0x0004
00000470 48E7 0108 movem.l -[A7], D7,A4
00000474 286E 0008 movea.l A4, [A6 + 0x8]
00000478 2D6C 000C FFFC move.l [A6 - 0x4], [A4 + 0xC]
0000047E 558F subq.l A7, 2
00000480 206C 0008 movea.l A0, [A4 + 0x8]
00000484 2050 movea.l A0, [A0]
00000486 3F28 0002 move.w -[A7], [A0 + 0x2]
0000048A 486E FFFC pea.l [A6 - 0x4]
0000048E 2F2C 0010 move.l -[A7], [A4 + 0x10]
00000492 4EAD 00E2 jsr [A5 + 0xE2]
00000496 3E1F move.w D7, [A7]+
00000498 0C47 FFD9 cmpi.w D7, 0xFFD9
0000049C 6602 bne +0x4 /* 000004A0 */
0000049E 4247 clr.w D7
label000004A0:
000004A0 4A47 tst.w D7
000004A2 6612 bne +0x14 /* 000004B6 */
000004A4 202E FFFC move.l D0, [A6 - 0x4]
000004A8 91AC 000C sub.l [A4 + 0xC], D0
000004AC 202E FFFC move.l D0, [A6 - 0x4]
000004B0 D1AC 0010 add.l [A4 + 0x10], D0
000004B4 6004 bra +0x6 /* 000004BA */
label000004B6:
000004B6 3947 0002 move.w [A4 + 0x2], D7
label000004BA:
000004BA 4A47 tst.w D7
000004BC 6604 bne +0x6 /* 000004C2 */
000004BE 7000 moveq.l D0, 0x00
000004C0 6002 bra +0x4 /* 000004C4 */
label000004C2:
000004C2 7005 moveq.l D0, 0x05
label000004C4:
000004C4 4CEE 1080 FFF4 movem.l A4,D7, [A6 - 0xC]
000004CA 4E5E unlink A6
000004CC 4E75 rts
000004CE 875F or.w [A7]+, D3
000004D0 6673 bne +0x75 /* 00000545 */
000004D2 5265 addq.w -[A5], 1
000004D4 6164 bsr +0x66 /* 0000053A */
000004D6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_61: // at 000004D8 (misaligned)
label000004D7: // (misaligned)
000004DA FFFC .extension 0xFFC // unimplemented
000004DC 48E7 0108 movem.l -[A7], D7,A4
000004E0 286E 0008 movea.l A4, [A6 + 0x8]
000004E4 7008 moveq.l D0, 0x08
000004E6 C054 and.w D0, [A4]
000004E8 6724 beq +0x26 /* 0000050E */
000004EA 558F subq.l A7, 2
000004EC 206C 0008 movea.l A0, [A4 + 0x8]
000004F0 2050 movea.l A0, [A0]
000004F2 3F28 0002 move.w -[A7], [A0 + 0x2]
000004F6 7002 moveq.l D0, 0x02
000004F8 3F00 move.w -[A7], D0
000004FA 7200 moveq.l D1, 0x00
000004FC 2F01 move.l -[A7], D1
000004FE 4EAD 0122 jsr [A5 + 0x122]
00000502 3E1F move.w D7, [A7]+
00000504 6708 beq +0xA /* 0000050E */
00000506 3947 0002 move.w [A4 + 0x2], D7
0000050A 701D moveq.l D0, 0x1D
0000050C 6042 bra +0x44 /* 00000550 */
label0000050E:
0000050E 2D6C 000C FFFC move.l [A6 - 0x4], [A4 + 0xC]
00000514 558F subq.l A7, 2
00000516 206C 0008 movea.l A0, [A4 + 0x8]
0000051A 2050 movea.l A0, [A0]
0000051C 3F28 0002 move.w -[A7], [A0 + 0x2]
00000520 486E FFFC pea.l [A6 - 0x4]
00000524 2F2C 0010 move.l -[A7], [A4 + 0x10]
00000528 4EAD 00EA jsr [A5 + 0xEA]
0000052C 3E1F move.w D7, [A7]+
0000052E 6612 bne +0x14 /* 00000542 */
00000530 202E FFFC move.l D0, [A6 - 0x4]
00000534 91AC 000C sub.l [A4 + 0xC], D0
00000538 202E FFFC move.l D0, [A6 - 0x4]
// begin alternate branch 0000053A-0000053C
fn0000053A:
0000053A FFFC .extension 0xFFC // unimplemented
// end alternate branch 0000053A-0000053C
fn0000053A: // (misaligned)
0000053C D1AC 0010 add.l [A4 + 0x10], D0
00000540 6004 bra +0x6 /* 00000546 */
label00000542:
00000542 3947 0002 move.w [A4 + 0x2], D7
label00000545: // (misaligned)
label00000546:
00000546 4A47 tst.w D7
00000548 6604 bne +0x6 /* 0000054E */
0000054A 7000 moveq.l D0, 0x00
0000054C 6002 bra +0x4 /* 00000550 */
label0000054E:
0000054E 7005 moveq.l D0, 0x05
label00000550:
00000550 4CEE 1080 FFF4 movem.l A4,D7, [A6 - 0xC]
00000556 4E5E unlink A6
00000558 4E75 rts
0000055A 885F or.w D4, [A7]+
0000055C 6673 bne +0x75 /* 000005D1 */
0000055E 5772 6974 subq.w <<invalid full ext with I/IS == 4>>, 3
00000562 6500 0000 bcs +0x2 /* 00000564 */
// begin alternate branch 00000564-0000056E
label00000564:
00000564 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_62: // at 00000566 (misaligned)
00000568 0000 48E7 ori.b D0, 0xE7
0000056C 0308 btst A0, D1
// end alternate branch 00000564-0000056E
export_62:
label00000564: // (misaligned)
00000566 4E56 0000 link A6, 0
0000056A 48E7 0308 movem.l -[A7], D6,D7,A4
0000056E 286E 0008 movea.l A4, [A6 + 0x8]
00000572 202E 000C move.l D0, [A6 + 0xC]
00000576 0480 0000 6600 subi.l D0, 0x6600 /* 'f\0' */
0000057C 6B20 bmi +0x22 /* 0000059E */
0000057E 0C80 0000 0006 cmpi.l D0, 0x6
00000584 6E18 bgt +0x1A /* 0000059E */
00000586 D080 add.l D0, D0
00000588 303B 0806 move.w D0, [PC + D0 + 0x6]
0000058C 4EFB 0000 jmp [PC + D0.w]
00000590 001A 00A6 ori.b [A2]+, 0xA6
00000594 0010 00B2 ori.b [A0], 0xB2
00000598 0010 00BA ori.b [A0], 0xBA
0000059C 00CC ori.? A4, 0xFFFFFFFFFFFFFFFF
label0000059E:
0000059E 426C 0002 clr.w [A4 + 0x2]
000005A2 7016 moveq.l D0, 0x16
000005A4 6000 00DC bra +0xDE /* 00000682 */
000005A8 206E 0010 movea.l A0, [A6 + 0x10]
000005AC 2010 move.l D0, [A0]
000005AE 670A beq +0xC /* 000005BA */
000005B0 5380 subq.l D0, 1
000005B2 670A beq +0xC /* 000005BE */
000005B4 5380 subq.l D0, 1
000005B6 670A beq +0xC /* 000005C2 */
000005B8 600C bra +0xE /* 000005C6 */
label000005BA:
000005BA 7C01 moveq.l D6, 0x01
000005BC 6012 bra +0x14 /* 000005D0 */
label000005BE:
000005BE 7C03 moveq.l D6, 0x03
000005C0 600E bra +0x10 /* 000005D0 */
label000005C2:
000005C2 7C02 moveq.l D6, 0x02
000005C4 600A bra +0xC /* 000005D0 */
label000005C6:
000005C6 426C 0002 clr.w [A4 + 0x2]
000005CA 7016 moveq.l D0, 0x16
000005CC 6000 00B4 bra +0xB6 /* 00000682 */
label000005D0:
000005D0 7003 moveq.l D0, 0x03
label000005D1: // (misaligned)
000005D2 B086 cmp.l D0, D6
000005D4 660E bne +0x10 /* 000005E4 */
000005D6 206E 0010 movea.l A0, [A6 + 0x10]
000005DA 4AA8 0004 tst.l [A0 + 0x4]
000005DE 6604 bne +0x6 /* 000005E4 */
000005E0 4247 clr.w D7
000005E2 6026 bra +0x28 /* 0000060A */
label000005E4:
000005E4 558F subq.l A7, 2
000005E6 206C 0008 movea.l A0, [A4 + 0x8]
000005EA 2050 movea.l A0, [A0]
000005EC 3F28 0002 move.w -[A7], [A0 + 0x2]
000005F0 3F06 move.w -[A7], D6
000005F2 206E 0010 movea.l A0, [A6 + 0x10]
000005F6 2F28 0004 move.l -[A7], [A0 + 0x4]
000005FA 4EAD 0122 jsr [A5 + 0x122]
000005FE 3E1F move.w D7, [A7]+
00000600 6708 beq +0xA /* 0000060A */
00000602 3947 0002 move.w [A4 + 0x2], D7
00000606 701D moveq.l D0, 0x1D
00000608 6078 bra +0x7A /* 00000682 */
label0000060A:
0000060A 7001 moveq.l D0, 0x01
0000060C B086 cmp.l D0, D6
0000060E 6760 beq +0x62 /* 00000670 */
00000610 206E 0010 movea.l A0, [A6 + 0x10]
00000614 7000 moveq.l D0, 0x00
00000616 2080 move.l [A0], D0
00000618 558F subq.l A7, 2
0000061A 206C 0008 movea.l A0, [A4 + 0x8]
0000061E 2050 movea.l A0, [A0]
00000620 3F28 0002 move.w -[A7], [A0 + 0x2]
00000624 206E 0010 movea.l A0, [A6 + 0x10]
00000628 4868 0004 pea.l [A0 + 0x4]
0000062C 4EAD 011A jsr [A5 + 0x11A]
00000630 544F addq.w A7, 2
00000632 603C bra +0x3E /* 00000670 */
00000634 206C 0008 movea.l A0, [A4 + 0x8]
00000638 2050 movea.l A0, [A0]
0000063A 5250 addq.w [A0], 1
0000063C 4247 clr.w D7
0000063E 6030 bra +0x32 /* 00000670 */
00000640 426C 0002 clr.w [A4 + 0x2]
00000644 7016 moveq.l D0, 0x16
00000646 603A bra +0x3C /* 00000682 */
00000648 206C 0008 movea.l A0, [A4 + 0x8]
0000064C 2050 movea.l A0, [A0]
0000064E 226E 0010 movea.l A1, [A6 + 0x10]
00000652 32A8 0002 move.w [A1], [A0 + 0x2]
00000656 4247 clr.w D7
00000658 6016 bra +0x18 /* 00000670 */
0000065A 558F subq.l A7, 2
0000065C 206C 0008 movea.l A0, [A4 + 0x8]
00000660 2050 movea.l A0, [A0]
00000662 3F28 0002 move.w -[A7], [A0 + 0x2]
00000666 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000066A 4EAD 0112 jsr [A5 + 0x112]
0000066E 3E1F move.w D7, [A7]+
label00000670:
00000670 4A47 tst.w D7
00000672 6704 beq +0x6 /* 00000678 */
00000674 3947 0002 move.w [A4 + 0x2], D7
label00000678:
00000678 4A47 tst.w D7
0000067A 6604 bne +0x6 /* 00000680 */
0000067C 7000 moveq.l D0, 0x00
0000067E 6002 bra +0x4 /* 00000682 */
label00000680:
00000680 7016 moveq.l D0, 0x16
label00000682:
00000682 4CEE 10C0 FFF4 movem.l A4,D7,D6, [A6 - 0xC]
00000688 4E5E unlink A6
0000068A 4E75 rts
0000068C 885F or.w D4, [A7]+
0000068E 6673 bne +0x75 /* 00000703 */
00000690 496F 6374 chk.w D4, [A7 + 0x6374]
00000694 6C00 0000 bge +0x2 /* 00000696 */
// begin alternate branch 00000696-0000069C
label00000696:
00000696 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00000698: // (misaligned)
0000069A FFFC .extension 0xFFC // unimplemented
// end alternate branch 00000696-0000069C
label00000696: // (misaligned)
fn00000698:
00000698 4E56 FFFC link A6, -0x0004
0000069C 48E7 0018 movem.l -[A7], A3,A4
000006A0 266E 000C movea.l A3, [A6 + 0xC]
000006A4 286E 0008 movea.l A4, [A6 + 0x8]
000006A8 2D4C FFFC move.l [A6 - 0x4], A4
label000006AC:
000006AC 18DB move.b [A4]+, [A3]+
000006AE 66FC bne -0x2 /* 000006AC */
000006B0 202E FFFC move.l D0, [A6 - 0x4]
000006B4 4CEE 1800 FFF4 movem.l A4,A3, [A6 - 0xC]
000006BA 4E5E unlink A6
000006BC 4E75 rts
000006BE 8673 7472 or.w D3, [A3 + D7.w * 4 + 0x72]
000006C2 6370 bls +0x72 /* 00000734 */
000006C4 7900 moveq.l D4, 0x00
000006C6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000006C8-000006D6
fn000006C8:
000006C8 4E56 0000 link A6, 0
000006CC 48E7 0018 movem.l -[A7], A3,A4
000006D0 286E 0008 movea.l A4, [A6 + 0x8]
000006D4 264C movea.l A3, A4
// end alternate branch 000006C8-000006D6
fn000006C8: // (misaligned)
000006CA 0000 48E7 ori.b D0, 0xE7
000006CE 0018 286E ori.b [A0]+, 0x6E /* 'n' */
000006D2 0008 264C ori.b A0, 0x4C /* 'L' */
000006D6 524B addq.w A3, 1
label000006D8:
000006D8 4A1C tst.b [A4]+
000006DA 66FC bne -0x2 /* 000006D8 */
000006DC 200C move.l D0, A4
000006DE 908B sub.l D0, A3
000006E0 4CEE 1800 FFF8 movem.l A4,A3, [A6 - 0x8]
000006E6 4E5E unlink A6
000006E8 4E75 rts
000006EA 8673 7472 or.w D3, [A3 + D7.w * 4 + 0x72]
000006EE 6C65 bge +0x67 /* 00000755 */
000006F0 6E00 0000 bgt +0x2 /* 000006F2 */
// begin alternate branch 000006F2-000006F8
label000006F2:
000006F2 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000006F4: // (misaligned)
000006F6 FFFC .extension 0xFFC // unimplemented
// end alternate branch 000006F2-000006F8
label000006F2: // (misaligned)
fn000006F4:
000006F4 4E56 FFFC link A6, -0x0004
000006F8 48E7 0118 movem.l -[A7], D7,A3,A4
000006FC 2E2E 0010 move.l D7, [A6 + 0x10]
00000700 266E 000C movea.l A3, [A6 + 0xC]
label00000703: // (misaligned)
00000704 286E 0008 movea.l A4, [A6 + 0x8]
00000708 2D4C FFFC move.l [A6 - 0x4], A4
0000070C 6002 bra +0x4 /* 00000710 */
label0000070E:
0000070E 18DB move.b [A4]+, [A3]+
label00000710:
00000710 5387 subq.l D7, 1
00000712 6CFA bge -0x4 /* 0000070E */
00000714 202E FFFC move.l D0, [A6 - 0x4]
00000718 4CEE 1880 FFF0 movem.l A4,A3,D7, [A6 - 0x10]
0000071E 4E5E unlink A6
00000720 4E75 rts
00000722 866D 656D or.w D3, [A5 + 0x656D]
00000726 6370 bls +0x72 /* 00000798 */
00000728 7900 moveq.l D4, 0x00
0000072A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_63: // at 0000072C (misaligned)
0000072E FFE0 .extension 0xFE0 // unimplemented
00000730 2F2E 000A move.l -[A7], [A6 + 0xA]
label00000734:
00000734 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000738 486E FFEC pea.l [A6 - 0x14]
0000073C 486E FFE0 pea.l [A6 - 0x20]
00000740 486E FFE4 pea.l [A6 - 0x1C]
00000744 A98D trap GetDialogItem/GetDItem
00000746 486E FFE4 pea.l [A6 - 0x1C]
0000074A 70FC moveq.l D0, 0xFFFFFFFC
0000074C 3F00 move.w -[A7], D0
0000074E 3F00 move.w -[A7], D0
00000750 A8A9 trap InsetRect
00000752 486E FFEE pea.l [A6 - 0x12]
label00000755: // (misaligned)
00000756 A898 trap GetPenState
00000758 7003 moveq.l D0, 0x03
0000075A 3F00 move.w -[A7], D0
0000075C 3F00 move.w -[A7], D0
0000075E A89B trap PenSize
00000760 486E FFE4 pea.l [A6 - 0x1C]
00000764 7010 moveq.l D0, 0x10
00000766 3F00 move.w -[A7], D0
00000768 3F00 move.w -[A7], D0
0000076A A8B0 trap FrameRoundRect
0000076C 486E FFEE pea.l [A6 - 0x12]
00000770 A899 trap SetPenState
00000772 4E5E unlink A6
00000774 205F movea.l A0, [A7]+
00000776 5C4F addq.w A7, 6
00000778 4ED0 jmp [A0]
0000077A 9248 sub.w D1, A0
0000077C 494C chk.w D4, A4
0000077E 4954 chk.w D4, [A4]
00000780 4544 chk.w D2, D4
00000782 4941 chk.w D4, D1
00000784 4C4F 4742 movem.l A6,A2,A1,A0,D6,D1, A7
00000788 5554 subq.w [A4], 2
0000078A 544F addq.w A7, 2
0000078C 4E00 .invalid // invalid opcode 4
0000078E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000790-00000794
fn00000790:
00000790 4E56 FFEA link A6, -0x0016
// end alternate branch 00000790-00000794
fn00000790: // (misaligned)
00000792 FFEA .extension 0xFEA // unimplemented
00000794 48E7 0F38 movem.l -[A7], D4,D5,D6,D7,A2,A3,A4
label00000798:
00000798 266E 0008 movea.l A3, [A6 + 0x8]
0000079C 41FA 020E lea.l A0, [PC + 0x20E /* 000009AC */]
000007A0 2D48 FFF8 move.l [A6 - 0x8], A0
000007A4 486D FFF8 pea.l [A5 - 0x8]
000007A8 2F3C 008A 0142 move.l -[A7], 0x8A0142
000007AE 2F3C 009E 017E move.l -[A7], 0x9E017E
000007B4 A8A7 trap SetRect
000007B6 486D FFF0 pea.l [A5 - 0x10]
000007BA 700C moveq.l D0, 0x0C
000007BC 3F00 move.w -[A7], D0
000007BE 7208 moveq.l D1, 0x08
000007C0 3F01 move.w -[A7], D1
000007C2 3F3C 019B move.w -[A7], 0x19B
000007C6 702C moveq.l D0, 0x2C
000007C8 3F00 move.w -[A7], D0
000007CA A8A7 trap SetRect
000007CC 486D FFE8 pea.l [A5 - 0x18]
000007D0 700C moveq.l D0, 0x0C
000007D2 3F00 move.w -[A7], D0
000007D4 722E moveq.l D1, 0x2E
000007D6 3F01 move.w -[A7], D1
000007D8 3F3C 019B move.w -[A7], 0x19B
000007DC 707D moveq.l D0, 0x7D
000007DE 3F00 move.w -[A7], D0
000007E0 A8A7 trap SetRect
000007E2 0CAB 0000 00FF 000C cmpi.l [A3 + 0xC], 0xFF
000007EA 6E06 bgt +0x8 /* 000007F2 */
000007EC 202B 000C move.l D0, [A3 + 0xC]
000007F0 6006 bra +0x8 /* 000007F8 */
label000007F2:
000007F2 203C 0000 00FF move.l D0, 0xFF
label000007F8:
000007F8 3E00 move.w D7, D0
000007FA 7000 moveq.l D0, 0x00
000007FC 2740 000C move.l [A3 + 0xC], D0
00000800 48C7 ext.l D7
00000802 2007 move.l D0, D7
00000804 D0BC 0000 0080 add.l D0, 0x80
0000080A A122 trap NewHandle, flags=1
0000080C 2848 movea.l A4, A0
0000080E 200C move.l D0, A4
00000810 6606 bne +0x8 /* 00000818 */
00000812 70FF moveq.l D0, 0xFFFFFFFF
00000814 6000 017C bra +0x17E /* 00000992 */
label00000818:
00000818 2054 movea.l A0, [A4]
0000081A 30BC 0003 move.w [A0], 0x3
0000081E 2054 movea.l A0, [A4]
00000820 7000 moveq.l D0, 0x00
00000822 2140 0002 move.l [A0 + 0x2], D0
00000826 2054 movea.l A0, [A4]
00000828 5C88 addq.l A0, 6
0000082A 43ED FFF8 lea.l A1, [A5 - 0x8]
0000082E 20D9 move.l [A0]+, [A1]+
00000830 20D9 move.l [A0]+, [A1]+
00000832 2054 movea.l A0, [A4]
00000834 117C 0004 000E move.b [A0 + 0xE], 0x4
0000083A 2054 movea.l A0, [A4]
0000083C 117C 0002 000F move.b [A0 + 0xF], 0x2
00000842 2054 movea.l A0, [A4]
00000844 117C 004F 0010 move.b [A0 + 0x10], 0x4F /* 'O' */
0000084A 2054 movea.l A0, [A4]
0000084C 117C 004B 0011 move.b [A0 + 0x11], 0x4B /* 'K' */
00000852 41ED 021A lea.l A0, [A5 + 0x21A]
00000856 2254 movea.l A1, [A4]
00000858 2348 0012 move.l [A1 + 0x12], A0
0000085C 2054 movea.l A0, [A4]
0000085E 2D48 FFFC move.l [A6 - 0x4], A0
00000862 2248 movea.l A1, A0
00000864 5C88 addq.l A0, 6
00000866 45E9 0016 lea.l A2, [A1 + 0x16]
0000086A 24D8 move.l [A2]+, [A0]+
0000086C 24D8 move.l [A2]+, [A0]+
0000086E 2054 movea.l A0, [A4]
00000870 4228 001E clr.b [A0 + 0x1E]
00000874 2054 movea.l A0, [A4]
00000876 4228 001F clr.b [A0 + 0x1F]
0000087A 2054 movea.l A0, [A4]
0000087C 2140 0020 move.l [A0 + 0x20], D0
00000880 2054 movea.l A0, [A4]
00000882 41E8 0024 lea.l A0, [A0 + 0x24]
00000886 43ED FFF0 lea.l A1, [A5 - 0x10]
0000088A 20D9 move.l [A0]+, [A1]+
0000088C 20D9 move.l [A0]+, [A1]+
0000088E 2054 movea.l A0, [A4]
00000890 117C 0008 002C move.b [A0 + 0x2C], 0x8
00000896 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000089A 4EBA FE2C jsr [PC - 0x1D4 /* 000006C8 */]
0000089E 2054 movea.l A0, [A4]
000008A0 1140 002D move.b [A0 + 0x2D], D0
000008A4 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000008A8 2054 movea.l A0, [A4]
000008AA 4868 002E pea.l [A0 + 0x2E]
000008AE 4EBA FDE8 jsr [PC - 0x218 /* 00000698 */]
000008B2 2054 movea.l A0, [A4]
000008B4 7000 moveq.l D0, 0x00
000008B6 2140 0070 move.l [A0 + 0x70], D0
000008BA 2054 movea.l A0, [A4]
000008BC 41E8 0074 lea.l A0, [A0 + 0x74]
000008C0 43ED FFE8 lea.l A1, [A5 - 0x18]
000008C4 20D9 move.l [A0]+, [A1]+
000008C6 20D9 move.l [A0]+, [A1]+
000008C8 2054 movea.l A0, [A4]
000008CA 117C 0008 007C move.b [A0 + 0x7C], 0x8
000008D0 2054 movea.l A0, [A4]
000008D2 1147 007D move.b [A0 + 0x7D], D7
000008D6 48C7 ext.l D7
000008D8 2F07 move.l -[A7], D7
000008DA 2F2B 0010 move.l -[A7], [A3 + 0x10]
000008DE 2054 movea.l A0, [A4]
000008E0 4868 007E pea.l [A0 + 0x7E]
000008E4 4EBA FE0E jsr [PC - 0x1F2 /* 000006F4 */]
000008E8 3C3C 01A8 move.w D6, 0x1A8
000008EC 3E3C 00AA move.w D7, 0xAA
000008F0 382D FCF6 move.w D4, [A5 - 0x30A]
000008F4 986D FCF2 sub.w D4, [A5 - 0x30E]
000008F8 3A2D FCF4 move.w D5, [A5 - 0x30C]
000008FC 9A6D FCF0 sub.w D5, [A5 - 0x310]
00000900 48C4 ext.l D4
00000902 48C6 ext.l D6
00000904 2004 move.l D0, D4
00000906 9086 sub.l D0, D6
00000908 7202 moveq.l D1, 0x02
0000090A 4EAD 007A jsr [A5 + 0x7A]
0000090E 3D40 FFEC move.w [A6 - 0x14], D0
00000912 3006 move.w D0, D6
00000914 D06E FFEC add.w D0, [A6 - 0x14]
00000918 3D40 FFF0 move.w [A6 - 0x10], D0
0000091C 48C5 ext.l D5
0000091E 48C7 ext.l D7
00000920 2005 move.l D0, D5
00000922 9087 sub.l D0, D7
00000924 7204 moveq.l D1, 0x04
00000926 4EAD 007A jsr [A5 + 0x7A]
0000092A 3D40 FFEA move.w [A6 - 0x16], D0
0000092E 3007 move.w D0, D7
00000930 D06E FFEA add.w D0, [A6 - 0x16]
00000934 3D40 FFEE move.w [A6 - 0x12], D0
00000938 486E FFF2 pea.l [A6 - 0xE]
0000093C A874 trap GetPort
0000093E 598F subq.l A7, 4
00000940 7000 moveq.l D0, 0x00
00000942 2F00 move.l -[A7], D0
00000944 486E FFEA pea.l [A6 - 0x16]
00000948 2F00 move.l -[A7], D0
0000094A 7200 moveq.l D1, 0x00
0000094C 1F01 move.b -[A7], D1
0000094E 7001 moveq.l D0, 0x01
00000950 3F00 move.w -[A7], D0
00000952 70FF moveq.l D0, 0xFFFFFFFF
00000954 2F00 move.l -[A7], D0
00000956 1F01 move.b -[A7], D1
00000958 7000 moveq.l D0, 0x00
0000095A 2F00 move.l -[A7], D0
0000095C 2F0C move.l -[A7], A4
0000095E A97D trap NewDialog
00000960 265F movea.l A3, [A7]+
00000962 200B move.l D0, A3
00000964 4FEF 0018 lea.l A7, [A7 + 0x18]
00000968 6604 bne +0x6 /* 0000096E */
0000096A 70FF moveq.l D0, 0xFFFFFFFF
0000096C 6024 bra +0x26 /* 00000992 */
label0000096E:
0000096E 2F0B move.l -[A7], A3
00000970 A915 trap ShowWindow
00000972 2F0B move.l -[A7], A3
00000974 A91F trap SelectWindow
label00000976:
00000976 7000 moveq.l D0, 0x00
00000978 2F00 move.l -[A7], D0
0000097A 486E FFF6 pea.l [A6 - 0xA]
0000097E A991 trap ModalDialog
00000980 7001 moveq.l D0, 0x01
00000982 B06E FFF6 cmp.w D0, [A6 - 0xA]
00000986 66EE bne -0x10 /* 00000976 */
00000988 2F0B move.l -[A7], A3
0000098A A983 trap DisposeDialog
0000098C 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000990 A873 trap SetPort
label00000992:
00000992 4CEE 1CF0 FFCE movem.l A4,A3,A2,D7,D6,D5,D4, [A6 - 0x32]
00000998 4E5E unlink A6
0000099A 4E75 rts
0000099C 8C44 or.w D6, D4
0000099E 6F50 ble +0x52 /* 000009F0 */
000009A0 7269 moveq.l D1, 0x69
000009A2 6E74 bgt +0x76 /* 00000A18 */
000009A4 416C 6572 chk.w D0, [A4 + 0x6572]
000009A8 7400 moveq.l D2, 0x00
000009AA 0044 5761 ori.w D4, 0x5761 /* 'Wa' */
000009AE 726E moveq.l D1, 0x6E
000009B0 696E bvs +0x70 /* 00000A20 */
000009B2 6721 beq +0x23 /* 000009D5 */
000009B4 2057 movea.l A0, [A7]
000009B6 7269 moveq.l D1, 0x69
000009B8 7469 moveq.l D2, 0x69
000009BA 6E67 bgt +0x69 /* 00000A23 */
000009BC 2074 6F20 7468 movea.l A0, [A4 + 0x7468 + D6 * 8]
000009C2 6520 bcs +0x22 /* 000009E4 */
000009C4 636F bls +0x71 /* 00000A35 */
000009C6 6E73 bgt +0x75 /* 00000A3B */
000009C8 6F6C ble +0x6E /* 00000A36 */
000009CA 6520 bcs +0x22 /* 000009EC */
000009CC 696E bvs +0x70 /* 00000A3C */
000009CE 2061 movea.l A0, -[A1]
000009D0 7070 moveq.l D0, 0x70
000009D2 6C69 bge +0x6B /* 00000A3D */
000009D4 6361 bls +0x63 /* 00000A37 */
label000009D5: // (misaligned)
000009D6 7469 moveq.l D2, 0x69
000009D8 6F6E ble +0x70 /* 00000A48 */
000009DA 7320 moveq.l D1, 0x20
000009DC 6973 bvs +0x75 /* 00000A51 */
000009DE 204E movea.l A0, A6
000009E0 4F54 chk.w D7, [A4]
000009E2 2073 7570 706F 7274 movea.l A0, [A3 + 0x706F7274]
// begin alternate branch 000009E4-000009EA
label000009E4:
000009E4 7570 moveq.l D2, 0x70
000009E6 706F moveq.l D0, 0x6F
000009E8 7274 moveq.l D1, 0x74
// end alternate branch 000009E4-000009EA
label000009E4: // (misaligned)
000009EA 6564 bcs +0x66 /* 00000A50 */
label000009EC:
000009EC 210D move.l -[A0], A5
000009EE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000009F0-000009F4
fn000009F0:
000009F0 4E56 FEE0 link A6, -0x0120
// end alternate branch 000009F0-000009F4
fn000009F0: // (misaligned)
000009F2 FEE0 .extension 0xEE0 // unimplemented
000009F4 48E7 0F38 movem.l -[A7], D4,D5,D6,D7,A2,A3,A4
000009F8 47EE FEF0 lea.l A3, [A6 - 0x110]
000009FC 4253 clr.w [A3]
000009FE 3C3C 0100 move.w D6, 0x100
00000A02 41FA 0248 lea.l A0, [PC + 0x248 /* 00000C4C, pstring "lert! Reading from the console in applications is NOT supported! " */]
00000A06 2D48 FFF8 move.l [A6 - 0x8], A0
00000A0A 486D FFF8 pea.l [A5 - 0x8]
00000A0E 2F3C 008A 0142 move.l -[A7], 0x8A0142
00000A14 2F3C 009E 017E move.l -[A7], 0x9E017E
// begin alternate branch 00000A18-00000A1A
label00000A18:
00000A18 017E bchg <<invalid special address>>, D0
// end alternate branch 00000A18-00000A1A
label00000A18: // (misaligned)
00000A1A A8A7 trap SetRect
00000A1C 486D FFF0 pea.l [A5 - 0x10]
label00000A20:
00000A20 700C moveq.l D0, 0x0C
00000A22 3F00 move.w -[A7], D0
label00000A23: // (misaligned)
00000A24 7208 moveq.l D1, 0x08
00000A26 3F01 move.w -[A7], D1
00000A28 3F3C 019B move.w -[A7], 0x19B
00000A2C 702C moveq.l D0, 0x2C
00000A2E 3F00 move.w -[A7], D0
00000A30 A8A7 trap SetRect
00000A32 486D FFE8 pea.l [A5 - 0x18]
label00000A35: // (misaligned)
label00000A36:
00000A36 700C moveq.l D0, 0x0C
label00000A37: // (misaligned)
00000A38 3F00 move.w -[A7], D0
00000A3A 722E moveq.l D1, 0x2E
label00000A3B: // (misaligned)
label00000A3C:
00000A3C 3F01 move.w -[A7], D1
label00000A3D: // (misaligned)
00000A3E 3F3C 019B move.w -[A7], 0x19B
00000A42 707D moveq.l D0, 0x7D
00000A44 3F00 move.w -[A7], D0
00000A46 A8A7 trap SetRect
label00000A48:
00000A48 3E06 move.w D7, D6
00000A4A 48C7 ext.l D7
00000A4C 2007 move.l D0, D7
00000A4E D0BC 0000 0194 add.l D0, 0x194
// begin alternate branch 00000A50-00000A54
label00000A50:
00000A50 0000 0194 ori.b D0, 0x94
// end alternate branch 00000A50-00000A54
label00000A50: // (misaligned)
label00000A51: // (misaligned)
00000A54 A122 trap NewHandle, flags=1
00000A56 2848 movea.l A4, A0
00000A58 200C move.l D0, A4
00000A5A 6606 bne +0x8 /* 00000A62 */
00000A5C 70FF moveq.l D0, 0xFFFFFFFF
00000A5E 6000 01D4 bra +0x1D6 /* 00000C34 */
label00000A62:
00000A62 2054 movea.l A0, [A4]
00000A64 30BC 0003 move.w [A0], 0x3
00000A68 2054 movea.l A0, [A4]
00000A6A 7000 moveq.l D0, 0x00
00000A6C 2140 0002 move.l [A0 + 0x2], D0
00000A70 2054 movea.l A0, [A4]
00000A72 5C88 addq.l A0, 6
00000A74 43ED FFF8 lea.l A1, [A5 - 0x8]
00000A78 20D9 move.l [A0]+, [A1]+
00000A7A 20D9 move.l [A0]+, [A1]+
00000A7C 2054 movea.l A0, [A4]
00000A7E 117C 0004 000E move.b [A0 + 0xE], 0x4
00000A84 2054 movea.l A0, [A4]
00000A86 117C 0002 000F move.b [A0 + 0xF], 0x2
00000A8C 2054 movea.l A0, [A4]
00000A8E 117C 004F 0010 move.b [A0 + 0x10], 0x4F /* 'O' */
00000A94 2054 movea.l A0, [A4]
00000A96 117C 004B 0011 move.b [A0 + 0x11], 0x4B /* 'K' */
00000A9C 41ED 021A lea.l A0, [A5 + 0x21A]
00000AA0 2254 movea.l A1, [A4]
00000AA2 2348 0012 move.l [A1 + 0x12], A0
00000AA6 2054 movea.l A0, [A4]
00000AA8 2D48 FFFC move.l [A6 - 0x4], A0
00000AAC 2248 movea.l A1, A0
00000AAE 5C88 addq.l A0, 6
00000AB0 45E9 0016 lea.l A2, [A1 + 0x16]
00000AB4 24D8 move.l [A2]+, [A0]+
00000AB6 24D8 move.l [A2]+, [A0]+
00000AB8 2054 movea.l A0, [A4]
00000ABA 4228 001E clr.b [A0 + 0x1E]
00000ABE 2054 movea.l A0, [A4]
00000AC0 4228 001F clr.b [A0 + 0x1F]
00000AC4 2054 movea.l A0, [A4]
00000AC6 2140 0020 move.l [A0 + 0x20], D0
00000ACA 2054 movea.l A0, [A4]
00000ACC 41E8 0024 lea.l A0, [A0 + 0x24]
00000AD0 43ED FFF0 lea.l A1, [A5 - 0x10]
00000AD4 20D9 move.l [A0]+, [A1]+
00000AD6 20D9 move.l [A0]+, [A1]+
00000AD8 2054 movea.l A0, [A4]
00000ADA 117C 0008 002C move.b [A0 + 0x2C], 0x8
00000AE0 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000AE4 4EBA FBE2 jsr [PC - 0x41E /* 000006C8 */]
00000AE8 2054 movea.l A0, [A4]
00000AEA 1140 002D move.b [A0 + 0x2D], D0
00000AEE 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000AF2 2054 movea.l A0, [A4]
00000AF4 4868 002E pea.l [A0 + 0x2E]
00000AF8 4EBA FB9E jsr [PC - 0x462 /* 00000698 */]
00000AFC 2054 movea.l A0, [A4]
00000AFE 7000 moveq.l D0, 0x00
00000B00 2140 0086 move.l [A0 + 0x86], D0
00000B04 2054 movea.l A0, [A4]
00000B06 41E8 008A lea.l A0, [A0 + 0x8A]
00000B0A 43ED FFE8 lea.l A1, [A5 - 0x18]
00000B0E 20D9 move.l [A0]+, [A1]+
00000B10 20D9 move.l [A0]+, [A1]+
00000B12 2054 movea.l A0, [A4]
00000B14 117C 0010 0092 move.b [A0 + 0x92], 0x10
00000B1A 2054 movea.l A0, [A4]
00000B1C 4228 0093 clr.b [A0 + 0x93]
00000B20 2054 movea.l A0, [A4]
00000B22 4228 0094 clr.b [A0 + 0x94]
00000B26 3C3C 01A8 move.w D6, 0x1A8
00000B2A 3E3C 00AA move.w D7, 0xAA
00000B2E 382D FCF6 move.w D4, [A5 - 0x30A]
00000B32 986D FCF2 sub.w D4, [A5 - 0x30E]
00000B36 3A2D FCF4 move.w D5, [A5 - 0x30C]
00000B3A 9A6D FCF0 sub.w D5, [A5 - 0x310]
00000B3E 48C4 ext.l D4
00000B40 48C6 ext.l D6
00000B42 2204 move.l D1, D4
00000B44 9286 sub.l D1, D6
00000B46 2001 move.l D0, D1
00000B48 7202 moveq.l D1, 0x02
00000B4A 4EAD 007A jsr [A5 + 0x7A]
00000B4E 3D40 FEE2 move.w [A6 - 0x11E], D0
00000B52 3006 move.w D0, D6
00000B54 D06E FEE2 add.w D0, [A6 - 0x11E]
00000B58 3D40 FEE6 move.w [A6 - 0x11A], D0
00000B5C 48C5 ext.l D5
00000B5E 48C7 ext.l D7
00000B60 2005 move.l D0, D5
00000B62 9087 sub.l D0, D7
00000B64 7204 moveq.l D1, 0x04
00000B66 4EAD 007A jsr [A5 + 0x7A]
00000B6A 3D40 FEE0 move.w [A6 - 0x120], D0
00000B6E 3007 move.w D0, D7
00000B70 D06E FEE0 add.w D0, [A6 - 0x120]
00000B74 3D40 FEE4 move.w [A6 - 0x11C], D0
00000B78 486E FEE8 pea.l [A6 - 0x118]
00000B7C A874 trap GetPort
00000B7E 598F subq.l A7, 4
00000B80 7000 moveq.l D0, 0x00
00000B82 2F00 move.l -[A7], D0
00000B84 486E FEE0 pea.l [A6 - 0x120]
00000B88 2F00 move.l -[A7], D0
00000B8A 7200 moveq.l D1, 0x00
00000B8C 1F01 move.b -[A7], D1
00000B8E 7001 moveq.l D0, 0x01
00000B90 3F00 move.w -[A7], D0
00000B92 70FF moveq.l D0, 0xFFFFFFFF
00000B94 2F00 move.l -[A7], D0
00000B96 1F01 move.b -[A7], D1
00000B98 7000 moveq.l D0, 0x00
00000B9A 2F00 move.l -[A7], D0
00000B9C 2F0C move.l -[A7], A4
00000B9E A97D trap NewDialog
00000BA0 2D5F FEEC move.l [A6 - 0x114], [A7]+
00000BA4 4FEF 000C lea.l A7, [A7 + 0xC]
00000BA8 6606 bne +0x8 /* 00000BB0 */
00000BAA 70FF moveq.l D0, 0xFFFFFFFF
00000BAC 6000 0086 bra +0x88 /* 00000C34 */
label00000BB0:
00000BB0 2F2E FEEC move.l -[A7], [A6 - 0x114]
00000BB4 A915 trap ShowWindow
00000BB6 2F2E FEEC move.l -[A7], [A6 - 0x114]
00000BBA A91F trap SelectWindow
label00000BBC:
00000BBC 7000 moveq.l D0, 0x00
00000BBE 2F00 move.l -[A7], D0
00000BC0 486E FFF6 pea.l [A6 - 0xA]
00000BC4 A991 trap ModalDialog
00000BC6 7001 moveq.l D0, 0x01
00000BC8 B06E FFF6 cmp.w D0, [A6 - 0xA]
00000BCC 66EE bne -0x10 /* 00000BBC */
00000BCE 2F2E FEEC move.l -[A7], [A6 - 0x114]
00000BD2 7004 moveq.l D0, 0x04
00000BD4 3F00 move.w -[A7], D0
00000BD6 486E FFF4 pea.l [A6 - 0xC]
00000BDA 486E FFF0 pea.l [A6 - 0x10]
00000BDE 486D FFE8 pea.l [A5 - 0x18]
00000BE2 A98D trap GetDialogItem/GetDItem
00000BE4 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000BE8 2F0B move.l -[A7], A3
00000BEA A990 trap GetDialogItemText/GetIText
00000BEC 7000 moveq.l D0, 0x00
00000BEE 1013 move.b D0, [A3]
00000BF0 2F00 move.l -[A7], D0
00000BF2 486B 0001 pea.l [A3 + 0x1]
00000BF6 206E 0008 movea.l A0, [A6 + 0x8]
00000BFA 2F28 0010 move.l -[A7], [A0 + 0x10]
00000BFE 4EBA FAF4 jsr [PC - 0x50C /* 000006F4 */]
00000C02 206E 0008 movea.l A0, [A6 + 0x8]
00000C06 7000 moveq.l D0, 0x00
00000C08 1013 move.b D0, [A3]
00000C0A D0A8 0010 add.l D0, [A0 + 0x10]
00000C0E 2040 movea.l A0, D0
00000C10 10BC 000D move.b [A0], 0xD /* '\r' */
00000C14 206E 0008 movea.l A0, [A6 + 0x8]
00000C18 7000 moveq.l D0, 0x00
00000C1A 1013 move.b D0, [A3]
00000C1C 5240 addq.w D0, 1
00000C1E 48C0 ext.l D0
00000C20 91A8 000C sub.l [A0 + 0xC], D0
00000C24 2F2E FEEC move.l -[A7], [A6 - 0x114]
00000C28 A983 trap DisposeDialog
00000C2A 2F2E FEE8 move.l -[A7], [A6 - 0x118]
00000C2E A873 trap SetPort
00000C30 4FEF 000C lea.l A7, [A7 + 0xC]
label00000C34:
00000C34 4CEE 1CF0 FEC4 movem.l A4,A3,A2,D7,D6,D5,D4, [A6 - 0x13C]
00000C3A 4E5E unlink A6
00000C3C 4E75 rts
00000C3E 8B44 6F52 pack D5, D4, 0x6F52
00000C42 6561 bcs +0x63 /* 00000CA5 */
00000C44 6441 bcc +0x43 /* 00000C87 */
00000C46 6C65 bge +0x67 /* 00000CAD */
00000C48 7274 moveq.l D1, 0x74
00000C4A 0058 416C ori.w [A0]+, 0x416C /* 'Al' */
00000C4E 6572 bcs +0x74 /* 00000CC2 */
00000C50 7421 moveq.l D2, 0x21
00000C52 2052 movea.l A0, [A2]
00000C54 6561 bcs +0x63 /* 00000CB7 */
00000C56 6469 bcc +0x6B /* 00000CC1 */
00000C58 6E67 bgt +0x69 /* 00000CC1 */
00000C5A 2066 movea.l A0, -[A6]
00000C5C 726F moveq.l D1, 0x6F
00000C5E 6D20 blt +0x22 /* 00000C80 */
00000C60 7468 moveq.l D2, 0x68
00000C62 6520 bcs +0x22 /* 00000C84 */
00000C64 636F bls +0x71 /* 00000CD5 */
00000C66 6E73 bgt +0x75 /* 00000CDB */
00000C68 6F6C ble +0x6E /* 00000CD6 */
00000C6A 6520 bcs +0x22 /* 00000C8C */
00000C6C 696E bvs +0x70 /* 00000CDC */
00000C6E 2061 movea.l A0, -[A1]
00000C70 7070 moveq.l D0, 0x70
00000C72 6C69 bge +0x6B /* 00000CDD */
00000C74 6361 bls +0x63 /* 00000CD7 */
00000C76 7469 moveq.l D2, 0x69
00000C78 6F6E ble +0x70 /* 00000CE8 */
00000C7A 7320 moveq.l D1, 0x20
00000C7C 6973 bvs +0x75 /* 00000CF1 */
00000C7E 204E movea.l A0, A6
label00000C80:
00000C80 4F54 chk.w D7, [A4]
00000C82 2073 7570 706F 7274 movea.l A0, [A3 + 0x706F7274]
// begin alternate branch 00000C84-00000C8A
label00000C84:
00000C84 7570 moveq.l D2, 0x70
00000C86 706F moveq.l D0, 0x6F
label00000C87: // (misaligned)
00000C88 7274 moveq.l D1, 0x74
// end alternate branch 00000C84-00000C8A
label00000C84: // (misaligned)
label00000C87: // (misaligned)
00000C8A 6564 bcs +0x66 /* 00000CF0 */
label00000C8C:
00000C8C 2120 move.l -[A0], -[A0]
00000C8E 2059 movea.l A0, [A1]+
00000C90 6F75 ble +0x77 /* 00000D07 */
00000C92 206D 6179 movea.l A0, [A5 + 0x6179]
00000C96 2074 7970 6520 6265 movea.l A0, [A4 + 0x65206265]
00000C9E 6C6F bge +0x71 /* 00000D0F */
00000CA0 773A moveq.l D3, 0x3A
00000CA2 0D00 btst D0, D6
export_64:
00000CA4 4E56 0000 link A6, 0
label00000CA5: // (misaligned)
00000CA8 2F0C move.l -[A7], A4
00000CAA 286E 0008 movea.l A4, [A6 + 0x8]
label00000CAD: // (misaligned)
00000CAE 598F subq.l A7, 4
00000CB0 2F0C move.l -[A7], A4
00000CB2 4EAD 0152 jsr [A5 + 0x152]
00000CB6 558F subq.l A7, 2
label00000CB7: // (misaligned)
00000CB8 2F0C move.l -[A7], A4
00000CBA 487A 0058 pea.l [PC + 0x58 /* 00000D14, pstring "dev:console" */]
00000CBE 7000 moveq.l D0, 0x00
00000CC0 1F00 move.b -[A7], D0
label00000CC1: // (misaligned)
label00000CC2:
00000CC2 7201 moveq.l D1, 0x01
00000CC4 1F01 move.b -[A7], D1
00000CC6 4EAD 00AA jsr [A5 + 0xAA]
00000CCA 4A1F tst.b [A7]+
00000CCC 584F addq.w A7, 4
00000CCE 660E bne +0x10 /* 00000CDE */
00000CD0 598F subq.l A7, 4
00000CD2 2F0C move.l -[A7], A4
00000CD4 4EAD 015A jsr [A5 + 0x15A]
// begin alternate branch 00000CD6-00000CD8
label00000CD6:
00000CD6 015A bchg [A2]+, D0
// end alternate branch 00000CD6-00000CD8
label00000CD5: // (misaligned)
label00000CD6: // (misaligned)
label00000CD7: // (misaligned)
00000CD8 70FF moveq.l D0, 0xFFFFFFFF
00000CDA 584F addq.w A7, 4
label00000CDB: // (misaligned)
label00000CDC:
00000CDC 6020 bra +0x22 /* 00000CFE */
label00000CDD: // (misaligned)
label00000CDE:
00000CDE 598F subq.l A7, 4
00000CE0 2F0C move.l -[A7], A4
00000CE2 4EAD 015A jsr [A5 + 0x15A]
00000CE6 202E 000C move.l D0, [A6 + 0xC]
// begin alternate branch 00000CE8-00000CF0
label00000CE8:
00000CE8 000C 0480 ori.b A4, 0x80
00000CEC 0000 6400 ori.b D0, 0x0
// end alternate branch 00000CE8-00000CF0
label00000CE8: // (misaligned)
00000CEA 0480 0000 6400 subi.l D0, 0x6400 /* 'd\0' */
label00000CF0:
00000CF0 584F addq.w A7, 4
label00000CF1: // (misaligned)
00000CF2 6708 beq +0xA /* 00000CFC */
00000CF4 203C 4000 0016 move.l D0, 0x40000016
00000CFA 6002 bra +0x4 /* 00000CFE */
label00000CFC:
00000CFC 7000 moveq.l D0, 0x00
label00000CFE:
00000CFE 286E FFFC movea.l A4, [A6 - 0x4]
00000D02 4E5E unlink A6
00000D04 4E75 rts
00000D06 8A5F or.w D5, [A7]+
label00000D07: // (misaligned)
00000D08 636F bls +0x71 /* 00000D79 */
00000D0A 4641 not.w D1
00000D0C 6363 bls +0x65 /* 00000D71 */
00000D0E 6573 bcs +0x75 /* 00000D83 */
label00000D0F: // (misaligned)
00000D10 7300 moveq.l D1, 0x00
00000D12 000E 0B64 ori.b A6, 0x64 /* 'd' */
00000D16 6576 bcs +0x78 /* 00000D8E */
00000D18 3A63 movea.w A5, -[A3]
00000D1A 6F6E ble +0x70 /* 00000D8A */
00000D1C 736F moveq.l D1, 0x6F
00000D1E 6C65 bge +0x67 /* 00000D85 */
00000D20 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_65: // at 00000D22 (misaligned)
00000D24 0000 7000 ori.b D0, 0x0
00000D28 4E5E unlink A6
00000D2A 4E75 rts
00000D2C 885F or.w D4, [A7]+
00000D2E 636F bls +0x71 /* 00000D9F */
00000D30 436C 6F73 chk.w D1, [A4 + 0x6F73]
00000D34 6500 0000 bcs +0x2 /* 00000D36 */
// begin alternate branch 00000D36-00000D46
label00000D36:
00000D36 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_66: // at 00000D38 (misaligned)
00000D3A 0000 4A38 ori.b D0, 0x38 /* '8' */
00000D3E 08F3 6710 486D bset.b [A3 + D4 + 0x6D], 0x10
00000D44 FD64 .extension 0xD64 // unimplemented
// end alternate branch 00000D36-00000D46
export_66:
label00000D36: // (misaligned)
00000D38 4E56 0000 link A6, 0
00000D3C 4A38 08F3 tst.b [0x000008F3 /* QDExist */]
00000D40 6710 beq +0x12 /* 00000D52 */
00000D42 486D FD64 pea.l [A5 - 0x29C]
00000D46 A86E trap InitGraf
00000D48 4A38 08F2 tst.b [0x000008F2 /* WWExist */]
00000D4C 6704 beq +0x6 /* 00000D52 */
00000D4E A912 trap InitWindows
00000D50 A8FE trap InitFonts
label00000D52:
00000D52 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000D56 4EBA FC98 jsr [PC - 0x368 /* 000009F0 */]
00000D5A 7000 moveq.l D0, 0x00
00000D5C 584F addq.w A7, 4
00000D5E 4E5E unlink A6
00000D60 4E75 rts
00000D62 875F or.w [A7]+, D3
00000D64 636F bls +0x71 /* 00000DD5 */
00000D66 5265 addq.w -[A5], 1
00000D68 6164 bsr +0x66 /* 00000DCE */
00000D6A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_67: // at 00000D6C (misaligned)
00000D6E 0000 4A38 ori.b D0, 0x38 /* '8' */
label00000D71: // (misaligned)
00000D72 08F3 6710 486D bset.b [A3 + D4 + 0x6D], 0x10
00000D78 FD64 .extension 0xD64 // unimplemented
label00000D79: // (misaligned)
00000D7A A86E trap InitGraf
00000D7C 4A38 08F2 tst.b [0x000008F2 /* WWExist */]
00000D80 6704 beq +0x6 /* 00000D86 */
00000D82 A912 trap InitWindows
label00000D83: // (misaligned)
00000D84 A8FE trap InitFonts
label00000D85: // (misaligned)
label00000D86:
00000D86 2F2E 0008 move.l -[A7], [A6 + 0x8]
label00000D8A:
00000D8A 4EBA FA04 jsr [PC - 0x5FC /* 00000790 */]
label00000D8E:
00000D8E 7000 moveq.l D0, 0x00
00000D90 584F addq.w A7, 4
00000D92 4E5E unlink A6
00000D94 4E75 rts
00000D96 885F or.w D4, [A7]+
00000D98 636F bls +0x71 /* 00000E09 */
00000D9A 5772 6974 subq.w <<invalid full ext with I/IS == 4>>, 3
00000D9E 6500 0000 bcs +0x2 /* 00000DA0 */
// begin alternate branch 00000DA0-00000DB0
label00000DA0:
00000DA0 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_68: // at 00000DA2 (misaligned)
00000DA4 0000 202E ori.b D0, 0x2E /* '.' */
00000DA8 000C 0480 ori.b A4, 0x80
00000DAC 0000 6602 ori.b D0, 0x2
// end alternate branch 00000DA0-00000DB0
export_68:
label00000D9F: // (misaligned)
label00000DA0: // (misaligned)
00000DA2 4E56 0000 link A6, 0
00000DA6 202E 000C move.l D0, [A6 + 0xC]
00000DAA 0480 0000 6602 subi.l D0, 0x6602
00000DB0 6708 beq +0xA /* 00000DBA */
00000DB2 5380 subq.l D0, 1
00000DB4 6708 beq +0xA /* 00000DBE */
00000DB6 70FF moveq.l D0, 0xFFFFFFFF
00000DB8 6010 bra +0x12 /* 00000DCA */
label00000DBA:
00000DBA 7000 moveq.l D0, 0x00
00000DBC 600C bra +0xE /* 00000DCA */
label00000DBE:
00000DBE 206E 0010 movea.l A0, [A6 + 0x10]
00000DC2 20BC 0000 00FF move.l [A0], 0xFF
00000DC8 7000 moveq.l D0, 0x00
label00000DCA:
00000DCA 4E5E unlink A6
00000DCC 4E75 rts
fn00000DCE:
00000DCE 885F or.w D4, [A7]+
00000DD0 636F bls +0x71 /* 00000E41 */
00000DD2 496F 6374 chk.w D4, [A7 + 0x6374]
label00000DD5: // (misaligned)
00000DD6 6C00 0000 bge +0x2 /* 00000DD8 */
// begin alternate branch 00000DD8-00000DE0
label00000DD8:
00000DD8 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_69: // at 00000DDA (misaligned)
00000DDC 0000 4E5E ori.b D0, 0x5E /* '^' */
// end alternate branch 00000DD8-00000DE0
export_69:
label00000DD8: // (misaligned)
00000DDA 4E56 0000 link A6, 0
00000DDE 4E5E unlink A6
00000DE0 4E75 rts
00000DE2 875F or.w [A7]+, D3
00000DE4 636F bls +0x71 /* 00000E55 */
00000DE6 4578 6974 chk.w D2, [0x00006974]
00000DEA 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_70: // at 00000DEC (misaligned)
00000DEE FFFC .extension 0xFFC // unimplemented
00000DF0 48E7 0018 movem.l -[A7], A3,A4
00000DF4 286E 0008 movea.l A4, [A6 + 0x8]
00000DF8 598F subq.l A7, 4
00000DFA 2F0C move.l -[A7], A4
00000DFC 4EAD 0152 jsr [A5 + 0x152]
00000E00 558F subq.l A7, 2
00000E02 2F0C move.l -[A7], A4
00000E04 487A 016E pea.l [PC + 0x16E /* 00000F74, pstring "dev:null" */]
00000E08 7000 moveq.l D0, 0x00
label00000E09: // (misaligned)
00000E0A 1F00 move.b -[A7], D0
00000E0C 7201 moveq.l D1, 0x01
00000E0E 1F01 move.b -[A7], D1
00000E10 4EAD 00AA jsr [A5 + 0xAA]
00000E14 4A1F tst.b [A7]+
00000E16 584F addq.w A7, 4
00000E18 6710 beq +0x12 /* 00000E2A */
00000E1A 598F subq.l A7, 4
00000E1C 2F0C move.l -[A7], A4
00000E1E 4EAD 015A jsr [A5 + 0x15A]
00000E22 7000 moveq.l D0, 0x00
00000E24 584F addq.w A7, 4
00000E26 6000 0110 bra +0x112 /* 00000F38 */
label00000E2A:
00000E2A 558F subq.l A7, 2
00000E2C 2F0C move.l -[A7], A4
00000E2E 487A 0138 pea.l [PC + 0x138 /* 00000F68, pstring "dev:stdin" */]
00000E32 7000 moveq.l D0, 0x00
00000E34 1F00 move.b -[A7], D0
00000E36 7201 moveq.l D1, 0x01
00000E38 1F01 move.b -[A7], D1
00000E3A 4EAD 00AA jsr [A5 + 0xAA]
00000E3E 4A1F tst.b [A7]+
00000E40 6708 beq +0xA /* 00000E4A */
label00000E41: // (misaligned)
00000E42 7000 moveq.l D0, 0x00
00000E44 2D40 FFFC move.l [A6 - 0x4], D0
00000E48 6050 bra +0x52 /* 00000E9A */
label00000E4A:
00000E4A 558F subq.l A7, 2
00000E4C 2F0C move.l -[A7], A4
00000E4E 487A 010C pea.l [PC + 0x10C /* 00000F5C, pstring "dev:stdout" */]
00000E52 7000 moveq.l D0, 0x00
00000E54 1F00 move.b -[A7], D0
label00000E55: // (misaligned)
00000E56 7201 moveq.l D1, 0x01
00000E58 1F01 move.b -[A7], D1
00000E5A 4EAD 00AA jsr [A5 + 0xAA]
00000E5E 4A1F tst.b [A7]+
00000E60 6708 beq +0xA /* 00000E6A */
00000E62 7001 moveq.l D0, 0x01
00000E64 2D40 FFFC move.l [A6 - 0x4], D0
00000E68 6030 bra +0x32 /* 00000E9A */
label00000E6A:
00000E6A 558F subq.l A7, 2
00000E6C 2F0C move.l -[A7], A4
00000E6E 487A 00E0 pea.l [PC + 0xE0 /* 00000F50, pstring "dev:stderr" */]
00000E72 7000 moveq.l D0, 0x00
00000E74 1F00 move.b -[A7], D0
00000E76 7201 moveq.l D1, 0x01
00000E78 1F01 move.b -[A7], D1
00000E7A 4EAD 00AA jsr [A5 + 0xAA]
00000E7E 4A1F tst.b [A7]+
00000E80 6708 beq +0xA /* 00000E8A */
00000E82 7002 moveq.l D0, 0x02
00000E84 2D40 FFFC move.l [A6 - 0x4], D0
00000E88 6010 bra +0x12 /* 00000E9A */
label00000E8A:
00000E8A 598F subq.l A7, 4
00000E8C 2F0C move.l -[A7], A4
00000E8E 4EAD 015A jsr [A5 + 0x15A]
00000E92 70FF moveq.l D0, 0xFFFFFFFF
00000E94 584F addq.w A7, 4
00000E96 6000 00A0 bra +0xA2 /* 00000F38 */
label00000E9A:
00000E9A 598F subq.l A7, 4
00000E9C 2F0C move.l -[A7], A4
00000E9E 4EAD 015A jsr [A5 + 0x15A]
00000EA2 0CAE 0000 6400 000C cmpi.l [A6 + 0xC], 0x6400 /* 'd\0' */
00000EAA 584F addq.w A7, 4
00000EAC 670A beq +0xC /* 00000EB8 */
00000EAE 203C 4000 0016 move.l D0, 0x40000016
00000EB4 6000 0082 bra +0x84 /* 00000F38 */
label00000EB8:
00000EB8 206E 0010 movea.l A0, [A6 + 0x10]
00000EBC 303C 0500 move.w D0, 0x500
00000EC0 C050 and.w D0, [A0]
00000EC2 7200 moveq.l D1, 0x00
00000EC4 3200 move.w D1, D0
00000EC6 0C81 0000 0500 cmpi.l D1, 0x500
00000ECC 6608 bne +0xA /* 00000ED6 */
00000ECE 203C 4000 0011 move.l D0, 0x40000011
00000ED4 6062 bra +0x64 /* 00000F38 */
label00000ED6:
00000ED6 486E FFFC pea.l [A6 - 0x4]
00000EDA 4EAD 01DA jsr [A5 + 0x1DA]
00000EDE 2640 movea.l A3, D0
00000EE0 200B move.l D0, A3
00000EE2 584F addq.w A7, 4
00000EE4 6608 bne +0xA /* 00000EEE */
00000EE6 203C 4000 0009 move.l D0, 0x40000009 /* '@\0\0\t' */
00000EEC 604A bra +0x4C /* 00000F38 */
label00000EEE:
00000EEE 206E 0010 movea.l A0, [A6 + 0x10]
00000EF2 3010 move.w D0, [A0]
00000EF4 C053 and.w D0, [A3]
00000EF6 7203 moveq.l D1, 0x03
00000EF8 C240 and.w D1, D0
00000EFA 7003 moveq.l D0, 0x03
00000EFC C050 and.w D0, [A0]
00000EFE B041 cmp.w D0, D1
00000F00 6708 beq +0xA /* 00000F0A */
00000F02 203C 4000 000D move.l D0, 0x4000000D /* '@\0\0\r' */
00000F08 602E bra +0x30 /* 00000F38 */
label00000F0A:
00000F0A 7000 moveq.l D0, 0x00
00000F0C 2F00 move.l -[A7], D0
00000F0E 4878 6601 pea.l [0x00006601]
00000F12 2F0B move.l -[A7], A3
00000F14 206B 0004 movea.l A0, [A3 + 0x4]
00000F18 2268 0014 movea.l A1, [A0 + 0x14]
00000F1C 4E91 jsr [A1]
00000F1E 206E 0010 movea.l A0, [A6 + 0x10]
00000F22 216B 0004 0004 move.l [A0 + 0x4], [A3 + 0x4]
00000F28 206E 0010 movea.l A0, [A6 + 0x10]
00000F2C 216B 0008 0008 move.l [A0 + 0x8], [A3 + 0x8]
00000F32 7000 moveq.l D0, 0x00
00000F34 4FEF 000C lea.l A7, [A7 + 0xC]
label00000F38:
00000F38 4CEE 1800 FFF4 movem.l A4,A3, [A6 - 0xC]
00000F3E 4E5E unlink A6
00000F40 4E75 rts
00000F42 8A5F or.w D5, [A7]+
00000F44 7379 moveq.l D1, 0x79
00000F46 4641 not.w D1
00000F48 6363 bls +0x65 /* 00000FAD */
00000F4A 6573 bcs +0x75 /* 00000FBF */
00000F4C 7300 moveq.l D1, 0x00
00000F4E 002E 0A64 6576 ori.b [A6 + 0x6576], 0x64 /* 'd' */
00000F54 3A73 7464 movea.w A5, [A3 + D7.w * 4 + 0x64]
00000F58 6572 bcs +0x74 /* 00000FCC */
00000F5A 7200 moveq.l D1, 0x00
00000F5C 0A64 6576 xori.w -[A4], 0x6576 /* 'ev' */
00000F60 3A73 7464 movea.w A5, [A3 + D7.w * 4 + 0x64]
00000F64 6F75 ble +0x77 /* 00000FDB */
00000F66 7400 moveq.l D2, 0x00
00000F68 0964 bchg -[A4], D4
00000F6A 6576 bcs +0x78 /* 00000FE2 */
00000F6C 3A73 7464 movea.w A5, [A3 + D7.w * 4 + 0x64]
00000F70 696E bvs +0x70 /* 00000FE0 */
00000F72 0000 0864 ori.b D0, 0x64 /* 'd' */
00000F76 6576 bcs +0x78 /* 00000FEE */
00000F78 3A6E 756C movea.w A5, [A6 + 0x756C]
00000F7C 6C00 4E56 bge +0x4E58 /* 00005DD4 */
export_71: // at 00000F7E (misaligned)
00000F80 0000 7000 ori.b D0, 0x0
00000F84 4E5E unlink A6
00000F86 4E75 rts
00000F88 885F or.w D4, [A7]+
00000F8A 7379 moveq.l D1, 0x79
00000F8C 436C 6F73 chk.w D1, [A4 + 0x6F73]
00000F90 6500 0000 bcs +0x2 /* 00000F92 */
// begin alternate branch 00000F92-00000F9A
label00000F92:
00000F92 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_72: // at 00000F94 (misaligned)
00000F96 0000 7000 ori.b D0, 0x0
// end alternate branch 00000F92-00000F9A
export_72:
label00000F92: // (misaligned)
00000F94 4E56 0000 link A6, 0
00000F98 7000 moveq.l D0, 0x00
00000F9A 4E5E unlink A6
00000F9C 4E75 rts
00000F9E 875F or.w [A7]+, D3
00000FA0 7379 moveq.l D1, 0x79
00000FA2 5265 addq.w -[A5], 1
00000FA4 6164 bsr +0x66 /* 0000100A */
00000FA6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_73: // at 00000FA8 (misaligned)
00000FAA 0000 2F0C ori.b D0, 0xC
label00000FAD: // (misaligned)
00000FAE 286E 0008 movea.l A4, [A6 + 0x8]
00000FB2 202C 000C move.l D0, [A4 + 0xC]
00000FB6 D1AC 0010 add.l [A4 + 0x10], D0
00000FBA 7000 moveq.l D0, 0x00
00000FBC 2940 000C move.l [A4 + 0xC], D0
label00000FBF: // (misaligned)
00000FC0 7000 moveq.l D0, 0x00
00000FC2 286E FFFC movea.l A4, [A6 - 0x4]
00000FC6 4E5E unlink A6
00000FC8 4E75 rts
00000FCA 885F or.w D4, [A7]+
label00000FCC:
00000FCC 7379 moveq.l D1, 0x79
00000FCE 5772 6974 subq.w <<invalid full ext with I/IS == 4>>, 3
00000FD2 6500 0000 bcs +0x2 /* 00000FD4 */
// begin alternate branch 00000FD4-00000FDC
label00000FD4:
00000FD4 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_74: // at 00000FD6 (misaligned)
00000FD8 0000 2F0C ori.b D0, 0xC
// end alternate branch 00000FD4-00000FDC
export_74:
label00000FD4: // (misaligned)
00000FD6 4E56 0000 link A6, 0
00000FDA 2F0C move.l -[A7], A4
label00000FDB: // (misaligned)
00000FDC 286E 0010 movea.l A4, [A6 + 0x10]
label00000FE0:
00000FE0 202E 000C move.l D0, [A6 + 0xC]
// begin alternate branch 00000FE2-00000FEA
label00000FE2:
00000FE2 000C 0480 ori.b A4, 0x80
00000FE6 0000 6600 ori.b D0, 0x0
// end alternate branch 00000FE2-00000FEA
label00000FE2: // (misaligned)
00000FE4 0480 0000 6600 subi.l D0, 0x6600 /* 'f\0' */
00000FEA 6706 beq +0x8 /* 00000FF2 */
00000FEC 5380 subq.l D0, 1
label00000FEE:
00000FEE 670E beq +0x10 /* 00000FFE */
00000FF0 6010 bra +0x12 /* 00001002 */
label00000FF2:
00000FF2 7000 moveq.l D0, 0x00
00000FF4 2880 move.l [A4], D0
00000FF6 2940 0004 move.l [A4 + 0x4], D0
00000FFA 7000 moveq.l D0, 0x00
00000FFC 6006 bra +0x8 /* 00001004 */
label00000FFE:
00000FFE 7000 moveq.l D0, 0x00
00001000 6002 bra +0x4 /* 00001004 */
label00001002:
00001002 7016 moveq.l D0, 0x16
label00001004:
00001004 286E FFFC movea.l A4, [A6 - 0x4]
00001008 4E5E unlink A6
fn0000100A:
0000100A 4E75 rts
0000100C 885F or.w D4, [A7]+
0000100E 7379 moveq.l D1, 0x79
00001010 496F 6374 chk.w D4, [A7 + 0x6374]
00001014 6C00 0000 bge +0x2 /* 00001016 */